package com.ktgj.flight.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.flight.domain.vo.PayTypeVo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 机票订单收银台
 */
public class FlightOrderCashier {
    public FlightOrderCashier() {
        orderItemCashiers = new ArrayList<>();
        payType = new ArrayList<>();
    }

    /** 单程——OW,往返——RT */
    @Excel(name = "单程——OW,往返——RT")
    private String tripType;

    /** 支付总金额 */
    @Excel(name = "支付总金额")
    private BigDecimal payAmount;

    /** 订单收银状态Id --1未支付 2 已支付 */
    @Excel(name = "订单收银状态Id --1未支付 2 已支付")
    private String guestPymtStsId;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private List<PayTypeVo> payType;

    /** 支付过期时间 */
    @Excel(name = "支付过期时间")
    private String expiredTime;

    private List<FlightOrderItemCashier> orderItemCashiers;

    public String getTripType() {
        return tripType;
    }

    public void setTripType(String tripType) {
        this.tripType = tripType;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getGuestPymtStsId() {
        return guestPymtStsId;
    }

    public void setGuestPymtStsId(String guestPymtStsId) {
        this.guestPymtStsId = guestPymtStsId;
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime;
    }

    public List<PayTypeVo> getPayType() {
        return payType;
    }

    public void setPayType(List<PayTypeVo> payType) {
        this.payType = payType;
    }

    public List<FlightOrderItemCashier> getOrderItemCashiers() {
        return orderItemCashiers;
    }

    public void setOrderItemCashiers(List<FlightOrderItemCashier> orderItemCashiers) {
        this.orderItemCashiers = orderItemCashiers;
    }
}
